<?php print '<?xml version="1.0" encoding="UTF-8"?>'?>
<gallery 
	frameColor="0x000000" 
	frameWidth="5" 
	imagePadding="2" 
	displayTime="6"
	enableRightClickOpen="false">
<?php foreach ((array)$this->rowset as $row):?>
<image>
   <url>upload/gallery/preview/<?php print $this->escape($row['image'])?></url>
   <caption><![CDATA[<?php print @$row['description']?>]]></caption>
</image>
<?php endforeach;?>
</gallery>